package com.yunkaweilai.android.model.operation;

import java.util.List;

/**
 * Created by Administrator on 2017/8/22.
 */

public class MemberCouponModel {


    /**
     * loginCode : 1
     * code : 1
     * message : 成功
     * data : {"list":[{"id":"27","store_id":"4","sub_store_id":"5","coupon_no":"124451354","push_type":"wechat","coupon_type":"DiscountCoupon","member_id":"142","coupon_id":"18","use_range":"nolimit","create_name":"admin","is_app":"0","create_time":"1503294067","create_id":"8","status":"2","is_use":"0","use_time":"0","validity_start":"1498838400","validity_end":"1514304000","coupon_info":"a:23:{s:2:\"id\";s:2:\"18\";s:8:\"store_id\";s:1:\"4\";s:8:\"is_first\";s:1:\"1\";s:12:\"sub_store_id\";s:1:\"5\";s:14:\"validity_start\";s:10:\"1498838400\";s:12:\"validity_end\";s:10:\"1514304000\";s:5:\"title\";s:15:\"优惠券名称\";s:9:\"use_range\";s:7:\"nolimit\";s:10:\"full_price\";s:6:\"100.00\";s:11:\"coupon_type\";s:14:\"DiscountCoupon\";s:9:\"dai_price\";s:5:\"90.00\";s:11:\"totle_count\";s:6:\"120000\";s:9:\"use_count\";s:1:\"0\";s:10:\"sent_count\";s:1:\"1\";s:6:\"is_app\";s:1:\"0\";s:11:\"limit_count\";s:1:\"1\";s:7:\"remarks\";s:0:\"\";s:6:\"status\";s:1:\"1\";s:4:\"sort\";s:1:\"0\";s:9:\"create_id\";s:1:\"8\";s:11:\"create_name\";s:5:\"admin\";s:11:\"create_time\";s:10:\"1500003348\";s:12:\"use_store_id\";s:1:\"0\";}","coupon_title":"优惠券名称","coupon_dai_price":"90.00","use_remark":null,"coupon_full_price":"100.00","receive_time":null,"use_store_id":"0"}]}
     */

    private int loginCode;
    private int code;
    private String message;
    private DataBean data;

    public int getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(int loginCode) {
        this.loginCode = loginCode;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 27
         * store_id : 4
         * sub_store_id : 5
         * coupon_no : 124451354
         * push_type : wechat
         * coupon_type : DiscountCoupon
         * member_id : 142
         * coupon_id : 18
         * use_range : nolimit
         * create_name : admin
         * is_app : 0
         * create_time : 1503294067
         * create_id : 8
         * status : 2
         * is_use : 0
         * use_time : 0
         * validity_start : 1498838400
         * validity_end : 1514304000
         * coupon_info : a:23:{s:2:"id";s:2:"18";s:8:"store_id";s:1:"4";s:8:"is_first";s:1:"1";s:12:"sub_store_id";s:1:"5";s:14:"validity_start";s:10:"1498838400";s:12:"validity_end";s:10:"1514304000";s:5:"title";s:15:"优惠券名称";s:9:"use_range";s:7:"nolimit";s:10:"full_price";s:6:"100.00";s:11:"coupon_type";s:14:"DiscountCoupon";s:9:"dai_price";s:5:"90.00";s:11:"totle_count";s:6:"120000";s:9:"use_count";s:1:"0";s:10:"sent_count";s:1:"1";s:6:"is_app";s:1:"0";s:11:"limit_count";s:1:"1";s:7:"remarks";s:0:"";s:6:"status";s:1:"1";s:4:"sort";s:1:"0";s:9:"create_id";s:1:"8";s:11:"create_name";s:5:"admin";s:11:"create_time";s:10:"1500003348";s:12:"use_store_id";s:1:"0";}
         * coupon_title : 优惠券名称
         * coupon_dai_price : 90.00
         * use_remark : null
         * coupon_full_price : 100.00
         * receive_time : null
         * use_store_id : 0
         */

        private List<ListBean> list;

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            private String id;
            private String store_id;
            private String sub_store_id;
            private String coupon_no;
            private String push_type;
            private String coupon_type;
            private String member_id;
            private String coupon_id;
            private String use_range;
            private String create_name;
            private String is_app;
            private String create_time;
            private String create_id;
            private String status;
            private String is_use;
            private String use_time;
            private String validity_start;
            private String validity_end;
            private String coupon_title;
            private String coupon_dai_price;
            private float coupon_full_price;
            private String use_store_id;
            private String coupon_content;

            public String getCoupon_content() {
                return coupon_content;
            }

            public void setCoupon_content(String coupon_content) {
                this.coupon_content = coupon_content;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getStore_id() {
                return store_id;
            }

            public void setStore_id(String store_id) {
                this.store_id = store_id;
            }

            public String getSub_store_id() {
                return sub_store_id;
            }

            public void setSub_store_id(String sub_store_id) {
                this.sub_store_id = sub_store_id;
            }

            public String getCoupon_no() {
                return coupon_no;
            }

            public void setCoupon_no(String coupon_no) {
                this.coupon_no = coupon_no;
            }

            public String getPush_type() {
                return push_type;
            }

            public void setPush_type(String push_type) {
                this.push_type = push_type;
            }

            public String getCoupon_type() {
                return coupon_type;
            }

            public void setCoupon_type(String coupon_type) {
                this.coupon_type = coupon_type;
            }

            public String getMember_id() {
                return member_id;
            }

            public void setMember_id(String member_id) {
                this.member_id = member_id;
            }

            public String getCoupon_id() {
                return coupon_id;
            }

            public void setCoupon_id(String coupon_id) {
                this.coupon_id = coupon_id;
            }

            public String getUse_range() {
                return use_range;
            }

            public void setUse_range(String use_range) {
                this.use_range = use_range;
            }

            public String getCreate_name() {
                return create_name;
            }

            public void setCreate_name(String create_name) {
                this.create_name = create_name;
            }

            public String getIs_app() {
                return is_app;
            }

            public void setIs_app(String is_app) {
                this.is_app = is_app;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getCreate_id() {
                return create_id;
            }

            public void setCreate_id(String create_id) {
                this.create_id = create_id;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getIs_use() {
                return is_use;
            }

            public void setIs_use(String is_use) {
                this.is_use = is_use;
            }

            public String getUse_time() {
                return use_time;
            }

            public void setUse_time(String use_time) {
                this.use_time = use_time;
            }

            public String getValidity_start() {
                return validity_start;
            }

            public void setValidity_start(String validity_start) {
                this.validity_start = validity_start;
            }

            public String getValidity_end() {
                return validity_end;
            }

            public void setValidity_end(String validity_end) {
                this.validity_end = validity_end;
            }

            public String getCoupon_title() {
                return coupon_title;
            }

            public void setCoupon_title(String coupon_title) {
                this.coupon_title = coupon_title;
            }

            public String getCoupon_dai_price() {
                return coupon_dai_price;
            }

            public void setCoupon_dai_price(String coupon_dai_price) {
                this.coupon_dai_price = coupon_dai_price;
            }


            public float getCoupon_full_price() {
                return coupon_full_price;
            }

            public void setCoupon_full_price(float coupon_full_price) {
                this.coupon_full_price = coupon_full_price;
            }

            public String getUse_store_id() {
                return use_store_id;
            }

            public void setUse_store_id(String use_store_id) {
                this.use_store_id = use_store_id;
            }
        }
    }
}
